import Http from './promise.js'
export default{
  listUser(params) {
    return  Http.getRequest("/user/listUser")
  },
  login(code){
    return Http.postRequest("/user/wxLogin",{"code":code})
  },
  addUser(userInfo,id){
    return Http.postRequest("/user/addUser",userInfo)
  }
}